package com.dtlaya.allutils.dcmFileUpload.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "dicom.storage")
public class DicomStorageProperties {
    private String basePath;
    private boolean autoCreateDirs;
    private String pathPattern;

    // Getters and Setters
    public String getBasePath() { return basePath; }
    public void setBasePath(String basePath) { this.basePath = basePath; }
    public boolean isAutoCreateDirs() { return autoCreateDirs; }
    public void setAutoCreateDirs(boolean autoCreateDirs) { this.autoCreateDirs = autoCreateDirs; }
    public String getPathPattern() { return pathPattern; }
    public void setPathPattern(String pathPattern) { this.pathPattern = pathPattern; }
}